﻿Public Class TMyDatabasePrivileges
    Friend _DB As String

    Friend _SelectPriv As Boolean
    Friend _InsertPriv As Boolean
    Friend _UpdatePriv As Boolean
    Friend _DeletePriv As Boolean
    Friend _CreatePriv As Boolean
    Friend _DropPriv As Boolean
    Friend _GrantPriv As Boolean
    Friend _ReferencesPriv As Boolean
    Friend _IndexPriv As Boolean
    Friend _AlterPriv As Boolean
    Friend _CreateTmpTablePriv As Boolean
    Friend _LockTablesPriv As Boolean
    Friend _CreateViewPriv As Boolean
    Friend _ShowViewPriv As Boolean
    Friend _CreateRoutinePriv As Boolean
    Friend _AlterRoutinePriv As Boolean
    Friend _ExecutePriv As Boolean
    Friend _EventPriv As Boolean
    Friend _TriggerPriv As Boolean
    Public ReadOnly Property DB() As String
        Get
            Return _DB
        End Get
    End Property

    Public ReadOnly Property SelectPriv() As Boolean
        Get
            Return _SelectPriv
        End Get
    End Property

    Public ReadOnly Property InsertPriv() As Boolean
        Get
            Return _InsertPriv
        End Get
    End Property

    Public ReadOnly Property UpdatePriv() As Boolean
        Get
            Return _UpdatePriv
        End Get
    End Property

    Public ReadOnly Property DeletePriv() As Boolean
        Get
            Return _DeletePriv
        End Get
    End Property

    Public ReadOnly Property CreatePriv() As Boolean
        Get
            Return _CreatePriv
        End Get
    End Property

    Public ReadOnly Property DropPriv() As Boolean
        Get
            Return _DropPriv
        End Get
    End Property

    Public ReadOnly Property GrantPriv() As Boolean
        Get
            Return _GrantPriv
        End Get
    End Property

    Public ReadOnly Property ReferencesPriv() As Boolean
        Get
            Return _ReferencesPriv
        End Get
    End Property

    Public ReadOnly Property IndexPriv() As Boolean
        Get
            Return _IndexPriv
        End Get
    End Property

    Public ReadOnly Property AlterPriv() As Boolean
        Get
            Return _AlterPriv
        End Get
    End Property

    Public ReadOnly Property CreateTmpTablePriv() As Boolean
        Get
            Return _CreateTmpTablePriv
        End Get
    End Property

    Public ReadOnly Property Lock_tablesPriv() As Boolean
        Get
            Return _LockTablesPriv
        End Get
    End Property

    Public ReadOnly Property CreateViewPriv() As Boolean
        Get
            Return _CreateViewPriv
        End Get
    End Property

    Public ReadOnly Property ShowViewPriv() As Boolean
        Get
            Return _ShowViewPriv
        End Get
    End Property

    Public ReadOnly Property CreateRoutinePriv() As Boolean
        Get
            Return _CreateRoutinePriv
        End Get
    End Property

    Public ReadOnly Property AlterRoutinePriv() As Boolean
        Get
            Return _AlterRoutinePriv
        End Get
    End Property

    Public ReadOnly Property ExecutePriv() As Boolean
        Get
            Return _ExecutePriv
        End Get
    End Property

    Public ReadOnly Property EventPriv() As Boolean
        Get
            Return _EventPriv
        End Get
    End Property

    Public ReadOnly Property TriggerPriv() As Boolean
        Get
            Return _TriggerPriv
        End Get
    End Property
End Class
